package com.bt.lms.ui.action.teaching.supervise;

import com.bt.lms.ui.page.common.action.pageteaching.TeachingSuperLabAction;
import com.bt.lms.ui.page.teaching.arrange.PageCourseDetailInfo;
import javafx.event.Event;
import javafx.event.EventHandler;
import javafx.scene.layout.Pane;

/**
 * 查看教学安排 详情信息事件
 */
public class LookTeachingArrangeDetailLabAction implements EventHandler {

    @Override

    public void handle(Event event) {


        PageCourseDetailInfo pageCourseDetailInfo = new PageCourseDetailInfo();
        Pane pane = TeachingSuperLabAction.pageSkipInfo.getPane();
        Integer index = TeachingSuperLabAction.pageSkipInfo.getIndex();
        pane.getChildren().set(index,pageCourseDetailInfo);


    }
}
